<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/1/21
 * Time: 16:24
 */
//获取参数
$owan_id= $route->bodyParams["owan_id"];//主键ID

//更新条件
$whereArr = [
    "owan_id" => $owan_id
];

$updateArr = deleteArrData($whereArr,$route->bodyParams);

//执行写入语句
$rsData = $db->mysqlDB->update("oa_wage_attendance_notice",$whereArr,$updateArr);

//返回成功结果
$response->responseData( true, $rsData );